
package ws;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for userStruct complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="userStruct">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="identifiant" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="nom" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="humeur" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="sexe" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
 *         &lt;element name="taille" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="piece" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="connexion" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "userStruct", propOrder = {
    "id",
    "identifiant",
    "nom",
    "humeur",
    "sexe",
    "taille",
    "piece",
    "connexion"
})
public class UserStruct {

    protected int id;
    protected String identifiant;
    protected String nom;
    protected int humeur;
    @XmlSchemaType(name = "unsignedShort")
    protected int sexe;
    protected int taille;
    protected int piece;
    protected boolean connexion;

    /**
     * Gets the value of the id property.
     * 
     */
    public int getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     */
    public void setId(int value) {
        this.id = value;
    }

    /**
     * Gets the value of the identifiant property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIdentifiant() {
        return identifiant;
    }

    /**
     * Sets the value of the identifiant property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIdentifiant(String value) {
        this.identifiant = value;
    }

    /**
     * Gets the value of the nom property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getNom() {
        return nom;
    }

    /**
     * Sets the value of the nom property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setNom(String value) {
        this.nom = value;
    }

    /**
     * Gets the value of the humeur property.
     * 
     */
    public int getHumeur() {
        return humeur;
    }

    /**
     * Sets the value of the humeur property.
     * 
     */
    public void setHumeur(int value) {
        this.humeur = value;
    }

    /**
     * Gets the value of the sexe property.
     * 
     */
    public int getSexe() {
        return sexe;
    }

    /**
     * Sets the value of the sexe property.
     * 
     */
    public void setSexe(int value) {
        this.sexe = value;
    }

    /**
     * Gets the value of the taille property.
     * 
     */
    public int getTaille() {
        return taille;
    }

    /**
     * Sets the value of the taille property.
     * 
     */
    public void setTaille(int value) {
        this.taille = value;
    }

    /**
     * Gets the value of the piece property.
     * 
     */
    public int getPiece() {
        return piece;
    }

    /**
     * Sets the value of the piece property.
     * 
     */
    public void setPiece(int value) {
        this.piece = value;
    }

    /**
     * Gets the value of the connexion property.
     * 
     */
    public boolean isConnexion() {
        return connexion;
    }

    /**
     * Sets the value of the connexion property.
     * 
     */
    public void setConnexion(boolean value) {
        this.connexion = value;
    }

}
